package cn.itsource.system.mapper;


import cn.itsource.system.domain.Menu;
import cn.itsource.system.query.MenuQuery;

import java.util.List;

/**
* @author huawei
* @description 针对表【tb_menu】的数据库操作Mapper
* @createDate 2024-06-12 18:34:06
* @Entity cn.itsource.domain.Menu
*/
public interface MenuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Menu record);

    int insertSelective(Menu record);

    Menu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Menu record);

    int updateByPrimaryKey(Menu record);

    List<Menu> selectAll(MenuQuery menuQuery);

    void deleteAll(List<Menu> m);

    List<Menu> selectAllType();

    List<Menu> selectByLoginId(Long  loginId);
}
